package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class OrderInfo {
    private int orderId;
    private int userId;
    private int comId;
    private int addressId;
    private Double buyCount;

    public OrderInfo(int userId, int comId, int addressId, Double buyCount) {
        this.userId = userId;
        this.comId = comId;
        this.addressId = addressId;
        this.buyCount = buyCount;
    }
}
